package demo4.mapper;

import demo4.pojo.User;

import java.sql.ResultSet;
import java.util.List;

public interface IUserMapper {
    int insert(User user);
    User selectByUsername(String username);

    int update(User user);

    List<User> selectAll();

    int deleteByUsername(String username);
}
